package com.maimao.model.info;

import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 退款表
 * @author MaoLin Wang
 * @date 2020/11/28 10:51 上午
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Refund implements Serializable {

    private static final long serialVersionUID = 927117553949774612L;

    private Long id;

    private String code;

    private String reason;

    private Long userId;

    //todo
    private String orderSn;

    private Integer num;

    private Integer hasPicture;

    private String pictures;

    private Integer status;

    private LocalDateTime applyTime;

    private LocalDateTime replyTime;

    private String replyContent;

    private Integer shipId;

    private Integer deleted;

    @Override
    public String toString() {
        return "Refund{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", reason='" + reason + '\'' +
                ", userId=" + userId +
                ", orderSn='" + orderSn + '\'' +
                ", num=" + num +
                ", hasPicture=" + hasPicture +
                ", pictures='" + pictures + '\'' +
                ", status=" + status +
                ", applyTime=" + applyTime +
                ", replyTime=" + replyTime +
                ", replyContent='" + replyContent + '\'' +
                ", shipId=" + shipId +
                ", deleted=" + deleted +
                '}';
    }
}
